package ua.yandex.skipass;

import java.util.Calendar;

public class SeasonPass extends SkiPass {
    private Calendar expirationDate;

    SeasonPass(Calendar expirationDate) {
        super(PassType.SEASON);
        this.expirationDate = expirationDate;
    }

    @Override
    public Calendar getExpirationDate() {
        return expirationDate;
    }

    @Override
    public boolean validAt(Calendar someTime) {
        return true;
    }
}
